package com.nbot.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.nbot.server.mapper.master.AlarmpointMapper;
import com.nbot.server.domain.AlarmpointDO;
import com.nbot.server.service.AlarmpointService;



@Service
public class AlarmpointServiceImpl implements AlarmpointService {
	@Autowired
	private AlarmpointMapper alarmpointMapper;
	
	@Override
	public AlarmpointDO get(Long autoid){
		return alarmpointMapper.get(autoid);
	}
	
	@Override
	public List<AlarmpointDO> list(Map<String, Object> map){
		return alarmpointMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return alarmpointMapper.count(map);
	}
	
	@Override
	public int save(AlarmpointDO alarmpoint){
		return alarmpointMapper.save(alarmpoint);
	}
	
	@Override
	public int update(AlarmpointDO alarmpoint){
		return alarmpointMapper.update(alarmpoint);
	}
	
	@Override
	public int remove(Long autoid){
		return alarmpointMapper.remove(autoid);
	}
	
	@Override
	public int batchRemove(Long[] autoids){
		return alarmpointMapper.batchRemove(autoids);
	}

	@Override
	public List<AlarmpointDO> listAll() {
		return alarmpointMapper.listAll();
	}

	@Override
	public AlarmpointDO getByTag(String getdatapath){
		return alarmpointMapper.getByTag(getdatapath);
	}

	@Override
	public int getMaxAutoid(){
		return alarmpointMapper.getMaxAutoid();
	}
	
}
